import Home from '../pages/home/Home'
import Mine from '../pages/Mine'
import Guarantee from '../pages/Guarantee'
import Community from '../pages/Community'
import Detail from '../pages/detail/Detail'
import Register from '../pages/Register'
import EmailLogin from '../pages/login/EmailLogin'
import PhoneLogin from '../pages/login/PhoneLogin'
import Info from '../pages/info/Info'
import Forget from '../pages/forget/Forget'
import Person from '../pages/Guarantee/geren/Person'
import qrcode from '../pages/Guarantee/geren/qrcode'
import rule from "../pages/Guarantee/rule"
import Dbuy from '../pages/dbuy/Dbuy'
import addLike from '../pages/dbuy/addLike'
import SetNew from '../pages/forget/SetNew'



import Kind from '../pages/home/Kind'
import Search from '../pages/home/Search'
import Next from '../pages/next/Next'
import User from '../pages/User'
import Set from "../pages/mine/set"
import News from "../pages/mine/news"
import AccountSafe from "../pages/mine/accountSafe"
import PhoneTest from "../pages/mine/phoneTest"
import Want from "../pages/mine/want"
import ShopOrder from "../pages/mine/shopOrder"
import ChangePassword from "../pages/mine/changePassword"


import Order from '../pages/home/Order'
import AddCo from "../pages/community/AddCo"
import Dydetail from "../pages/community/DynamicDetail"
import Dyuser from '../pages/community/UserDetail'
export const routes_home=[{
  path: '/',
  component: Home,
  isExact:true, // 精准引入
  name:"首页"
},
{
  path: '/Guarantee',
  component: Guarantee,
  isExact:false,
  name:"担保预售"
},
{
  path: '/Community',
  component: Community,
  isExact:false,
  name:"社区"
},

{
  path: '/Mine',
  component: Mine,
  isExact:false,
  name:"我的",
  
}
,]
export const routes = [
  ...routes_home,
  {
    path: '/register',
    component: Register,
    isExact:false,
    name:"注册"
  },{
    path: '/Detail',
    component: Detail,
    isExact:false,
    name:"宝贝首页"
  },{
    path:"/set",
    component:Set,
    isExact:true,
      name:"设置"
  },{
    path:"/accountSafe",
    component:AccountSafe,
    isExact:true,
      name:"账户与安全"
  },{
    path:"/changePassword",
    component:ChangePassword,
    isExact:true,
      name:"修改密码"
  },
  // {
  //   path: '/login',
  //   component: Login,
  //   isExact:false,
  //   name:"登录",
  // },
  {
      path:"/news",
      component:News,
      isExact:true,
      name:"新消息",
  },
  {
      path:"/phoneTest",
      component:PhoneTest,
      isExact:true,
      name:"手机号验证",
  },
  {
      path:"/want",
      component:Want,
      isExact:true,
      name:"想要",
  },
  {
      path:"/shopOrder",
      component:ShopOrder,
      isExact:true,
      name:"订单",
  },
  // {
  //   path: '/login',
  //   component: Login,
  //   isExact:false, // 精准引入
  //   name:"登录"
  // },
  {
    path: '/info',
    component: Info,
    isExact:false,
    name:"手机号注册"
  },
  {
    path:'/person',
    component:Person,
    isExact:false,
    name:"个人信息"
  },
  {
    path:'/qrcode',
    component:qrcode,
    isExact:false,
    name:"二维码"
  },
  {
    path:'/rule',
    component:rule,
    isExact:false,
    name:"规则"
  },
  {
    path: '/kind',
    component: Kind,
    isExact:false,
    name:"分类"
  },{
    path: '/search',
    component: Search,
    isExact:false, // 精准引入
    name:"搜索",
  },{
    path: '/next/:username/:sex/:area',
    component: Next,
    isExact:false,
    name:"下一步"
  },{
    path: '/detail:pid',
    component: Detail,
    isExact:false,
    name:"详情"
  },{
    path: '/user',
    component: User,
    isExact:false,
    name:"用户页"
  },{
    path: '/order',
    component: Order,
    isExact:false,
    name:"订单页"
  },{
    path: '/addCo',
    component: AddCo,
    isExact:true,
    name:"发动态"
  },{
    path: '/Dydetail',
    component: Dydetail,
    isExact:true,
    name:"动态详情"
  },{
    path: '/Dyuser',
    component: Dyuser,
    isExact:false,
    name:"用户信息"
  }
  ,{
    path: '/EmailLogin',
    component: EmailLogin,
    isExact:true,
    name:"邮箱登录"
  },{
    path: '/PhoneLogin',
    component: PhoneLogin,
    isExact:false,
    name:"用户登录"
  },{
    path: '/forget',
    component: Forget,
    isExact:false,
    name:"忘记密码"
  },{
    path: '/setNew',
    component: SetNew,
    isExact:false,
    name:"设置新密码"
  },{
    path: '/dbuy',
    component: Dbuy,
    isExact:false,
    name:"买"
  },{
    path: '/addLike',
    component: addLike,
    isExact:false,
    name:"添加求购"
  }
]
